Integrand size = 15, antiderivative size = 30 \[ \int \frac {(1-x)^n}{\sqrt {1+x}} \, dx=2^{1+n} \sqrt {1+x} \operatorname {Hypergeometric2F1}\left (\frac {1}{2},-n,\frac {3}{2},\frac {1+x}{2}\right ) \]
[Out]
Time = 0.01 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {71} \[ \int \frac {(1-x)^n}{\sqrt {1+x}} \, dx=2^{n+1} \sqrt {x+1} \operatorname {Hypergeometric2F1}\left (\frac {1}{2},-n,\frac {3}{2},\frac {x+1}{2}\right ) \]
[In]
[Out]
Rule 71
Rubi steps \begin{align*} \text {integral}& = 2^{1+n} \sqrt {1+x} \, _2F_1\left (\frac {1}{2},-n;\frac {3}{2};\frac {1+x}{2}\right ) \\ \end{align*}
Time = 0.06 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.00 \[ \int \frac {(1-x)^n}{\sqrt {1+x}} \, dx=2^{1+n} \sqrt {1+x} \operatorname {Hypergeometric2F1}\left (\frac {1}{2},-n,\frac {3}{2},\frac {1+x}{2}\right ) \]
[In]
[Out]
\[\int \frac {\left (1-x \right )^{n}}{\sqrt {1+x}}d x\]
[In]
[Out]
\[ \int \frac {(1-x)^n}{\sqrt {1+x}} \, dx=\int { \frac {{\left (-x + 1\right )}^{n}}{\sqrt {x + 1}} \,d x } \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 1.19 (sec) , antiderivative size = 29, normalized size of antiderivative = 0.97 \[ \int \frac {(1-x)^n}{\sqrt {1+x}} \, dx=2 \cdot 2^{n} \sqrt {x + 1} {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, - n \\ \frac {3}{2} \end {matrix}\middle | {\frac {\left (x + 1\right ) e^{2 i \pi }}{2}} \right )} \]
[In]
[Out]
\[ \int \frac {(1-x)^n}{\sqrt {1+x}} \, dx=\int { \frac {{\left (-x + 1\right )}^{n}}{\sqrt {x + 1}} \,d x } \]
[In]
[Out]
\[ \int \frac {(1-x)^n}{\sqrt {1+x}} \, dx=\int { \frac {{\left (-x + 1\right )}^{n}}{\sqrt {x + 1}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(1-x)^n}{\sqrt {1+x}} \, dx=\int \frac {{\left (1-x\right )}^n}{\sqrt {x+1}} \,d x \]
[In]
[Out]